package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品-套餐商品
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_g_combo")
public class GCombo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 商品套餐属性主键
     */
    @TableId(value = "gc_id", type = IdType.AUTO)
    private Integer gc_id;

    /**
     * 商品主键
     */
    private Integer goods_id;

    /**
     * 打包的子产品ID
     */
    private Integer goods_son_id;


}
